package adv4;

import java.util.Date;

public class DateTest {

	public static void main(String[] args) {
		Date d = new Date();
		System.out.println(d);
		// System.currentTimeMillis();

		System.out.println(d.getTime());
		// 获得年，月，日，星期几
		System.out.println(">>>>>>>>>>>>>>>");
		Date d2 = new Date(-10000000000L);
		System.out.println(d2);
	}

}
